<?php
class PostModel extends Model{
  private $id;
  private $authorId;
  private $createdOn;
  private $header;
  private $body;

  public function set_id($id){
    $this->id = $id;
    return $this;
  }
  public function get_id(){
    return $this->id;
  }
  public function set_authorId($authorId)
  {
    $this->authorId = $authorId;
    return $this;
  }
  
  public function get_authorId()
  {
    return $this->authorId;
  }
  
  public function set_createdOn($createdOn){
    $this->createdOn = $createdOn;
    return $this;
  }
  public function get_createdOn(){
    return $this->createdOn;
  }
  public function set_header($header){
    $this->header = $header;
    return $this;
  }
  public function get_header(){
    return $this->header;
  }
  public function set_body($body){
    $this->body = $body;
    return $this;
  }
  public function get_body(){
    return $this->body;
  }
}
?>